﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Client
{
    class Utility
    {
        public static void ShowLoginAgain()
        {
            Managers.Manager.clientForm.FormClosed -= Managers.Manager.clientForm.Client_FormClosed;
            System.Windows.Forms.MessageBox.Show("账号在其他地方登陆，请重新登录。", "提示");
            Managers.Manager.clientForm.Close();
            Managers.Manager.loginForm.Show();
        }
    }
}
